import AdminIndex from "../../pages/admin";
import AdminContainer from "../../pages/admin/container";
import AdminAction from "../../pages/admin/action";
import AdminError from "../../pages/admin/error";
import AdminAdd from "../../pages/admin/add";



//管理员路由
const admin = {
    path: "admin",
    element: <AdminContainer></AdminContainer>,
    children: [
        {
            path: "",
            element: <AdminIndex></AdminIndex>
        },
        {
            path: "action",
            element: <AdminAction></AdminAction>
        },
        {
            path: "error",
            element: <AdminError></AdminError>
        },
        {
            path: "add",
            element: <AdminAdd></AdminAdd>
        }
    ]

}

export default admin